package per.hnvcam.searchext.services;

import org.apache.tika.exception.TikaException;
import org.xml.sax.SAXException;
import per.hnvcam.searchext.data.model.WebReference;
import per.hnvcam.searchext.text.WordCounter;

import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: Vi Cam
 * Date: 12/01/2012
 * Time: 18:14
 * To change this template use File | Settings | File Templates.
 */
public interface TrainingService {
   void reset();

   void trainFromWebReference(WebReference webReference) throws IOException, SAXException, TikaException;

   void trainFromURL(String url) throws IOException, SAXException, TikaException;

   WordCounter getWordCounter();
}
